import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import Plugin from 'v-fit-columns'
import './assets/iconfont/iconfont.css'
Vue.use(Plugin)
// 导入axios实例
import MyAxios from './request'
// Vue.use调用MyAxios对象中install方法, 把Vue作为参数传递给install方法
Vue.use(MyAxios)

Vue.config.productionTip = false

Vue.prototype.$http.get('/API/V1/articles').then((data) => {
  console.log(data)
})
new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
